package com.lmc.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order {

    private Long id;

    private String number;

    private Integer status;

    private Long userId;

    private Long addressBookId;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime orderTime;

    private BigDecimal amount;


}
